Implement a `plugin` flag for targets
authorAlex Crichton <alex@alexcrichton.com>
Fri, 11 Jul 2014 01:26:30 +0000 (18:26 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 11 Jul 2014 01:26:30 +0000 (18:26 -0700)
commitf9830fe742fa45baa87ae980ea68a3a3e2849a60
treee8d48feade101a8cf84e25a71914c6e77235ca96
parent1946c447cb991b396391d04e092be68f2f03f515
Implement a `plugin` flag for targets

If `plugin = true` is specified, then the target is considered a compiler plugin
which implies two separate properties:

* The library must be compiled as a dylib
* The library must be compiled for the host architecture
src/cargo/core/manifest.rs
src/cargo/ops/cargo_rustc.rs
src/cargo/util/toml.rs